package com.ldp.designpatterns.review.create.factory.methodfactory.factory;

import com.ldp.designpatterns.review.create.factory.methodfactory.service.ChessPizza;
import com.ldp.designpatterns.review.create.factory.methodfactory.service.Pizza;

/**
 * @ClassName ChessFactory
 * @Description 吐司工厂
 * @Author lindipei
 * @Date 2023/10/20 11:04
 */
public class ChessFactory implements MethodFactory{
    @Override
    public Pizza createPiza() {
       return new ChessPizza();
    }
}
